fix segfault in GlobalPropertyGetter() (closes #89)