simplify plugin loader