fixes #423 - use global=true instead type=GlobalField.class for field