remove rendering of html in api