fixed var shadowing bug in diffLineMode