quick fix! stack order is correct