fix the problem when a program insepects a non-exist container.