mainly trim the code of lserv2.c.