undefined typo fix