fix a symbol vs string check