was using :objref instead of :value