fix inst insert migration