fix initial rendering due to incorrect template compilation