context ref fix