handle whitespace properly