md5 checks fixed