Fix bug for container type.