Fix timestamp setting.