price is not calculated properly