add new line after } for eof ending