Fix withdraw errors