checking params from sendalert