Removing excess line with debug Console.WriteLine