 Many facts were changed or ignored to add to the feel of the movie.  For example, the real George M. Cohan (qv) was married twice, and  although his second wifes middle name was Mary, she went by her  first name, Agnes.