fix conection close