fix connection false bug