removes duplicated header and refactor course info related templates