some change in plugin loader, so it return object when every thing is ok