fix one bug if withdraw failed