Bug fix for mode command with no args