fixed bug when requiring plugin modules that are strings