fixed error in htpassword generation