corrects a typo in a json message