a ref fix