fix last commit: index into the header correctly