Adding double check that crumbdata is defined