added check for return cash against quote