rescue everything in the template