Fixed a couple API calls