ignore warnings and notices in templates