-Fix: make applyCost work with new getPrice