Removing of extra spaces