fixed formatted output of structure factor