Fixed the password generator