Bugfix for the libvocab problem

handles issue #8