minor fix for line deletion