fixed the price calculator