Removing unwanted spaces.