pserver mainclass fix