Insertion, Deletion, Line number printing fcts more robust