fixes for gem updates