Fixes connection