fixed bug in new password generation method