refactor course header