fix command execution