fixed huc compilation