corrected resource error