fix typo in before/after show.json code