categories bugfixes