fix password encrypted issue