command execution bugfix