fixed samples for new SDK