Fixed entity ref
Updated to r48 weak table behaviour.