fix issue with gem failing to load