fix canonical issue

fix issue that not possible disable canonical feature