typo causing stack overflow