fix for canonical URLs