fix headercontroller definition