the instant search works, but it is not perfect. Need some corrections