Trying to fix connection error