Fix category double bug.

Signed-off-by: Hui Zheng <fengyimzy@gmail.com>