fixed search so it resets and auto focuses