fixing self links