remove extra space.