correct const-ness