Fix const usage