float bug fixed in order_index