make minor changes in packet.c and fsm_server.c