fixes issue where making absolute url fails because content is string