fixed bug for undefined reponse from postman message