fixed search being turned off errors