quotesCleanup function

Cleans quote data