fix location_option assignment