remove empty container on template