fixed order_by error