change link and encoding