Fixing error on missing arguments

fixes issue #34