domain ref fix