fix typo causing app crash