fixed internal APIs that need to call .html