wait for document fix