Initialize variable correctly; fixes #32, resolves #31