trim code in lserv2.c