fixed menu module using old setGlobal parts