do not parse categories more than once