show end time & bug fix