fix command menu visible