deep refs is now global