refine removing blank spaces.