fix price calculation