response validation