some changes in discovery and ios and yamicontainer