fix isObjectField test