fixed ResponseServer

changed while loop condition