Extra line removal