added setre{g|u}id