fix for price calculations