bug. inserted wrong number into stack