fixed a password storage issue