solve Make stacks problem