crash fixed menu impl problem