Fix duplicate template name. Added error page.