Fixed bug that was adding \r characters which broke the view