fixed htrunc