fix to foreseeable endtime