Fixed the reverse stack ordering.