parsing special id as terms