fixed naming of modules based on module filename