fixed off by ones for find and insert