use correct variable name for canonical