Fix parsing whitespaces.