fix error compilation on halls of reflection