fixing md5 encoding