Fix withdraw bug