delete unnecessary information