Fix variable declaration

Fix for PR #67