[0.1.8] resolve global n leak

Fixes #2.

Signed-off-by: Eli Skeggs <eskeggs@globesherpa.com>