deal with const ness