fix diff of start and end of alert