fix twittercard paths to urls