fix reflesh resource problem.