fixed menu and firefox bug