remove dead space