fix password encrypton