detentions auto close if present