Fixed categories bug.