fix for sdk2.0