remove variables used for counting empty stacks