framework: console: argc fix for console