fixed some bugs with the SignalR stuff