Bug fix to formatting