fix api docs, close #692