doubt on keyref