fix some bugs in time stamp
before working