fix cs_module_adapter to compile async