Fixed "EOF, found }" error