fix connectfail event