small typo causing unexpected EOF