fix undefined typo