Fixing infinite loops using NxParser, testing modifications