use correct local reference (see #17)