Fixed add visit record.