adapt to connect 3.0 deprications