syntax error in UI class