constness fix