fix cost equal 0