fix document block