handle blank search