trim space on collapsespace