- Fix warnings from getResource()