fix command pattern's async functionality (internally still unused, but better to be correct for the future)