fixed timesatmp error when inserting relationship statistics