fixes a bug in the nickase util