Fix location selection.