Fixed SyncExecuteCommand.