Fixing special treatment for md5-hex