fixed getValue (hopefully)