merged with use_last_location