fixed menu click bug