add } to line 338 at View.java