Bugfix:Compile errors and filenames with iterations