fix switching user