bug in cost