fix a bug in symbol define and set
involved in determining whether a signal symbol has changed.