fix container id extraction bug