fix select order