Fixed messed up templates.