handle remote exception