only close rows once