Resolve the problem caused by bounce of document