Fixed the insert of new items