fixed command execution