minor fixes

 - trailing whitespace,
 - missing ';'