fix typo in comment insert check