fixed warnings in documents