resovled template issue