try attach template