fix type of cost in quote