correct symbol comparison