fix api release errors