getValueFromObject bug