modify PasswordGenerator