fix newer gems