Fix bug with header categories