fix const miss