Removing obsolete lines