Use this approach, I will fix it in the SDK