correcting nesting error in header