Fix const usage in variable declaration