remove extra whitespace now that collapsing works