fixed bug in get_places