improve action of lserv2.c