remove keys and change urls