fixed ResponseServer

changes while loop conditional