detect missing commas
restored detection of trailing commas