fix issue #120: enabling categories with default=off is buggy