fixed compilation with sdk 3.6.0