bugfixing category-error