Delete useless panels.