minor fix with userswitch, #393