fix stupid insertion bug