Fix bug for getContainer