fix bug: no categories could be found