Make sure that global end time is defined.