Fixing SDK endpoint