delete some unuseful lines