fixed search on enter bug and added search autofocus on input