squelch warning in parse_id and simplify it