Fixing connect task