remove locks from plugin