fix custom resources