removing unwanted spacing