SourceFormatter - fix infinite loop