remove generated template