fixing re-connect, the second try!