cleanup plugin loader