Fix for NumberFormatException when no verbosity attribute specified

Fixes #108. Sorry for the mess after my recent pull request. Please review and merge.