fixes bug with container_attrs