fix recursive calls to hlcl