load template in processor