bugfix for command output