removing whitespace from display