Consoleargfix

Fixes issue #663