compatibility with new sdk