Fixed insertLines