prevent loops in abr_parser_to_string