handle logic error in sherll_actor_shell