Fixed bug in whitespace consumer.