fix search as you type