Fix bug in md5 conversion.