fix document url error