fix edit link location with respect to unfavorite link