fix stuff related to gem updates