fixed plugins not being properly loaded