fix getRequireHeader