oopsie, I sent the wrong error, sorry! That last one was me trying to debug it...
this is the actual error
-----------
UNHANDLED ERROR: invalid command name ".menubar.apple.preferences"
while executing
"$mymenu add separator"
(procedure "::completion::init_options_menu" line 10)
invoked from within
"::completion::init_options_menu"
(procedure "::completion::init" line 19)
invoked from within
"::completion::init"
("uplevel" body line 1537)
invoked from within
"uplevel #0 $tclcode"
FAILED TO LOAD /Users/alexandreporres/Documents/Pd/externals/completion-plugin/completion-plugin.tcl
-----------