Another fix to api