fixed name error when out of cash