bugfix of timestamp