small API fix