fixed ResponseServer

changed while loop changes