Fix for undefined csv variable.

Fixes #20