bug fix when password is already there.