fixed "response" not declared
WS fix