issue 32: remove extra spaces