Fixed scopedRef