error:reached end of file while parsing. How can i solve this?