finished meta data replace in template