Fix category API