bugs fix.
- removing listener on new callback set;
- syntax bug fix.