make alert and notification interval more flexible