Fix withdrawal bug