use dedicated module_id variable for each socket