constness fix for D 2.066