get rid of un-needed space