Hexagon gauge anomaly and supermoduli in the path integral method of superstrings