template issue completely resolved