password type fix