fixed bug in canSymbolHaveModifier