fix URL elements