fix getPassword