Fixed defect during posting new document