fixed timestamp error