fixed lint issues on template