fixed empty string search