fix api specs