fixed bcrypt error