fixed for loop error in LevelParser
merge conflict resolved