fix api in docs