perflock clean up