Comments on anomaly cancellations by pole subtractions and ghost instabilities with gravity