fixed bug in places.api