Fix link editing