My guess is that you have a double-dollar sign variable outside of an event loop string ... for example, checking further.