fixed error when from_omniauth method returns open structs