fixed missing insert code