Remove extra semicolon from template