fixed md5 check