Use convert method instead of deprecated render method.