fixed command exception output