minor corrections to provent errors