fixed a bug with the password