During the first minutes of Facebook’s initial public offering, chaos reigned. Orders went unfilled, and some were unsure if their orders had gone through at all. And, given the dramatic decline of Facebook’s stock since its first few trades, there are more than a few annoyed investors.

The NASDAQ, whose system took a beating and essentially jammed, has proposed a $40 million fund that will be used to deal with those complaints. According to Business Insider, some $13.7 million of the 40 will be used to correct “gains [the NASDAQ] had booked from holding shares, past payouts, as well as its estimated Facebook-related revenue over the next five years.”

Facebook’s massive IPO has turned into to a painful money pit for many, as the firm’s shares decline. According to CNBC, the NASDAQ is also planning to hire IBM to ivestigate its trading system, to avoid future issues of similar form.

The issues at the start of the IPO were an embarrassment for the NASDAQ, and marked the start of the numerous problems with Facebook’s flotation. If this $40 million will settle the issue is an open question. It may not be enough for the exchange to avoid painful legal action.