remove level of template