minor cosmetics if/while