Remove Unnecessary renderTemplate calls