remove empty/null generated template