Fixed problem with categories.