fixed search on ios7