Solved connectionReady problem