bug fixed in search