Fixed a static field initializer index bug