wrong var in override check