minor fix to properly format output