minor fix for stripping spaces