fixing a warning, also reformat