small ref fix