fix false whitespace matching