fixed quote calculation