refactor minor category manage view
fix crash issue