clean md5 templating