fixed some template details