reached end of file while parsing. need help