fix category bug
fix bug when page not added to category