corrected scope reference for ref to render