replaced tplrenderer with direct jade call