quick fix to api formatting