Fixed box deletion