fix unhandled exception when the hash code was missing after /content