adjust for changes in gem loading