fix API interface to render content