extra spaces removed