fixing issue with password modification