fix for issue #45 formatting