fix the problem of refreshing the list