bugfix for wrong category name assignment