adding search error message if query not an understood format