fixing bcrypt error