server mode switch