fix remove superfluous lines