handle edge case searched