input errors with withdrawing fixed