fix canonical error