small fix in format_atom_names