Fix crash when ignore static field.