clearing whitespace on renderData calls