improve view category function
update zd