optimization on no result found