fixes canonical URL to match canonical link element expectations