few minor edits to correct some issues