template issue fixed