fixed alreadyClosed