Fix category creation