Fixed slowdown caused in header