fixed level.getCost