fix api steps