handle first insert in log data