Fix trace version of const.