prevent to empty search