fix timestamp error