fix constness.