Fix bags in runModuleFunctions by broff