remove obsolete lines