Fix canonical page variable placement