fixed a bug in stacks.c