Update timestamp.lua

refixed the double timestamp bug