delete unnecessary content