fix create master error when no container.