fix missing REF_P/REF_N in UCF.