some fix on bcrypt