trying to fix bug preventing multiple stacks per instance