log file fix
update template