remove generated content, fix template