removed wrong global variable on binary protocol listener.