Fix this binding of getResource(s)