Fixed resource problem