removed check from unlock