Minor fixes to get rid of undefined variable notices
Merge pull request #11 from mateuszmarkowski/master

Minor fixes to get rid of undefined variable notices