Remove wasted spaces