Quick fix to api