template header is removed