fixed call to md5 so it works on mac