Resolved an error when deleting containers