fix empty search mapping