location set automatically when non empty autocomplete value