Fix custom resources.