insert() method corrections