removing the obsolete lines