Fix api formatting