use md5 instead of sha1 in template