Fixed InitConnection