fixed 'syntax error unexpected end of file'