Fixed a few errors in header and index