fixed category number and this closes issue #35