fixed header permission problem