fixed @stacks definition