Cairo Dock bug? – /usr/share/menu/cairo-dock: 1: Syntax error: word unexpected (expecting “)”)

it’s been some times that everytime I did apt-get to install some stuff, I always found this line somewhere in the console output:

Processing triggers for menu …
/usr/share/menu/cairo-dock: 1: Syntax error: word unexpected (expecting “)”)
Execution of /usr/share/menu/cairo-dock generated no output or returned an error.

But, strangely, the cairo dock itself is running just fine, in my desktop
Kinda annoying though….