Fixed comparing of symbols