fix api content-types