remove recursive links