correct time bug in employee history page