Fix end-time