(*)dirty trick to show edit menu & build menu correctly at the first time on Mac