fixes = vs == in template