bad template resource