remove encoding + links