digest should work for undefined value as well