handle syntax error in sherll_actor_shell