Fix calling menu and split menu content fo resource and model