Fixed bug related to md5 hash