fixed bug on user-specified canonical-region
bug fix when xref is not supplied