fix getting values