added reset() into model::insert() method in model