removing unnecessary white space