Switch to tornado template
Fix template rendering issue