Trying to fix processResources issues