Fix broken timestamp setting