Fix for call on incorrect variable

Fixes #31