removing unused space