[bugfix] use correct comm object in the constructor