Delete useless lines