switch from setre{gui/uid} -> setres...