fix lock chain