fix some bugs about md5