LAPSEDTIME bug fix