remove unused section in template