attempt to fix api spec.