fixed endnotes