whitespace parsing fix