Fixed no profit bug