fixed invalid signalr connect and other common issues