fix remove_full_line method