fix parent location selection