Fixed bug for password field