fixed some timestamp methods.