introduce parser_clean()