[#2222] add const correctness to ihelp