fixed gem loading