Removing extra spaces