fix the bug of unable to select filter after refreshing data