fixed up places api calls