change fts4 to fts3, fix select order