getResourceByName was not calling correct version of itself.