fix resource list bug