fixed duplicate insert.