global lock clean