adjusting output
handle event data; prevent duplicate reading records during insert
query for eliminating duplicate reading data