fix cryptPassword