Update ThpViewRenderer.php