fix const qualifier