fixed module loading inner classes as well