minor API fix