fix document spec