fix pop and peek so that any value can be gotten off the stack, including NULL (0)