strip extra spaces