correct a bug where timeline was not saved correctly