fixed error message if extract was used with nothing selected