fixed menu bug