fix errors on reponses