Fixed example and template variable check error