Do md5 check correctly