fix load gems depricated error