fix the bug that statment lists execute in reverse order.