add error handling for stops#search