I can't believe I was doing stacks wrong this whole time. Fixed.