Fix exception including an undefined variable $b
Merge pull request #61 from wilr/patch-1

Fix exception including an undefined variable $b