fix typo in code preview for index