fixes #13: added warning output when removing lines