added mutex to operator registration