fix filter dialog and order in filter result.