fix provider location selection on frontend