fix the maximum generate password