Minor stacks bug fix