fixed bug that enabled simulationto look back in time in some situations