remove discarded space