fix api exposed.