fixed namespace problems in operetta due to automatic code generation