cleaning up unnecessary templates