fixed autocomplete and clearing form