prevent NPE when digest is empty
temp hack to prevent query system from breaking in local stack