costing fixes