Debugged 0 cost error