added this. where needed in ServerListeners class