fix proper timestamp