Comments on anomalies in supersymmetric theories