fixing gem creation
fix gem errors