sdk and samples fix