check reponse validation