fix variable to reponse json