structure reordering clears out template cache