removed try ion specific code