Fixes Broken API call