fix diff check and time target and time block