fix bug when check file write date of included template path.