fix Offline Mode wrong password bug