fix bug with categories#all