fixed menu crash