fix document