clearing out trailing whitespace
fixing a missing assignment