fixed double-run of modules when running loops