adapt to new sdk links