Resource path correction.