errors in documents