fix lock checking