cleaning up extra spaces