sendalert fix

copied from Tranz bottlecaps