minor bugfixes, categorical tables fully functional