fix broken timestamp logic :\