Remove small unnecessary lines