minor edits fixes #598