fixed formatting error, closes #1166