Fix loading problem in gem