Can you send us a code snippet for us to examine?
Please re-test with the tool from the SDK 2.2.2 release. I believe the issue you're reporting existed in the earlier version of the SDK. you don't need to re-write your app in the SDK 2.2.2, just use the tool from it!
thank you shawn antol, it worked - 2.2.2 fixed the issue