fixed const correctness on a couple get functions