fix moduleName else block