add a few consts

fixing compilation error in IB