Fixxed bug in stacks containing variables and numbers