changed condition to validate geoserver response