fix const location

fix const location