api: add traverse method
fix: wrong file