theftProtection endpoint fix