api: fix histo thread param